home *** CD-ROM | disk | FTP | other *** search
/ Inter.Net 55-1 / Inter.Net 55-1.iso / CBuilder / Setup / BCB / data.z / ddraw3.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1998-02-09  |  683 b   |  24 lines

  1. //---------------------------------------------------------------------------
  2. #include <vcl.h>
  3. #pragma hdrstop
  4. USERES("ddraw3.res");
  5. USEFORM("Main.cpp", Form1);
  6. USERC("ddex4.rc");
  7. USEUNIT("..\Utils\ddutil.cpp");
  8. //---------------------------------------------------------------------------
  9. WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
  10. {
  11.    try
  12.    {
  13.        Application->Initialize();
  14.        Application->CreateForm(__classid(TForm1), &Form1);
  15.        Application->Run();
  16.    }
  17.    catch (Exception &exception)
  18.    {
  19.        Application->ShowException(&exception);
  20.    }
  21.    return 0;
  22. }
  23. //---------------------------------------------------------------------------
  24.